<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="description" content="Bean's Twitter client, an OAuth enabled Twitter client.">
        <meta name="keywords" content="twitter, client, oauth">
        <title>Bean's Twitter Client</title>
        <script src="/js/jquery-1.5.min.js"></script>
        <script type="text/javascript">
        <!--
        function goSubmit() {
            var cgId = $("#cgId").val();
            if(cgId == '') {
                alert("아이디를 입력하세요.");
                return;
            }

            $("#frm").submit();
        }
        -->
        </script>
    </head>
    <body>
        <h3>Bean's Twitter Client</h3>
        <p>OAuth test.</p>
        <form name="frm" id="frm" action="/twitter/signIn">
        <input type="text" name="cgId" id="cgId">
        <a href="javascript:goSubmit();">
            <img src="/images/twitter_button_5_hi.gif" alt="Sign in with Twitter" border="0"/>
        </a>
        </form>
    </body>
</html>